#pragma once

#include "opencv2/opencv.hpp"

class Face {
 private:
  cv::Rect2i left_eye_, right_eye_;
  cv::Rect2i roi_;
  bool waring_;

 public:
  Face();
  Face(const cv::Rect2i& left, const cv::Rect2i& right);
  const cv::Rect2i& GetRoi();
  double LightJudge(cv::Mat gray);

  void Draw(const cv::Mat& output, const cv::Scalar& color, bool add_lable);
};